﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using PublicClass;

namespace S.RBAC.Domain.Model
{
    /// <summary>
    /// 权限表
    /// </summary>
    [Table("Jurisdiction")]
    public class Jurisdiction : AuditFields
    {
        /// <summary>
        /// 权限Id
        /// </summary>
        [Key]
        public int JurisdictionId { get; set; }

        /// <summary>
        /// 权限名称
        /// </summary>
        [MaxLength(30)]
        public string? JurisdictionName { get; set; }
    }
}
